<template>
  <div class="app-container">
      <img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1565067852752&di=539f52a7ff86fdfb1aba616bbcca0821&imgtype=0&src=http%3A%2F%2Fb-ssl.duitang.com%2Fuploads%2Fitem%2F201711%2F30%2F20171130170814_NKfEQ.jpeg" style="width:100%" alt="">
    <!-- <UploadImg ref="uploadImg"></UploadImg>
    <el-button slot="trigger" @click="btns" size="small" type="primary">上传</el-button> -->
  </div>
</template>

<script>
import UploadImg from '@/components/UploadImg'

export default {
  name: 'homePage',
  data(){
      return{
         fileNum:2
      }
  },
  components: { UploadImg },
  created(){

  },
  methods:{
     btns(){
         this.$refs.uploadImg.submitUpload()
         
     }
       
  }
}
</script>

<style scoped>

</style>
